#include<stdio.h>
int main(){
 char c;
 c=getchar();
 while(c!='\n'){
 if((c>='a'&&c<='z')||(c>='A'&&c<='Z'))
 {
 if((c>='v'&&c<='z')||(c>='V'&&c<='Z'))
 c=c+21;
 else
 c=c-5;
 }
 printf("%c",c);
      c=getchar();
 }
 printf("\n");
 return 0;
}

